
#include"cppjieba/Jieba.hpp"
#include<iostream>
#include<vector>
#include<string>
using std::vector;
using std::string;

class SloSplitTool
{
    public:
    static SloSplitTool*getInstance();
    vector<string> cut(string content);
    SloSplitTool(const SloSplitTool&rhs)=delete;
    SloSplitTool& operator=(const SloSplitTool&rhs)=delete;
    private:
    SloSplitTool();
    private:
    static SloSplitTool* pslos;
    const char* const DICT_PATH = "/home/zzh/cpp/project/v1_project/search/src/dict/jieba.dict.utf8";
    const char* const HMM_PATH = "/home/zzh/cpp/project/v1_project/search/src/dict/hmm_model.utf8";
    const char* const USER_DICT_PATH = "/home/zzh/cpp/project/v1_project/search/src/dict/user.dict.utf8";
    const char* const IDF_PATH = "/home/zzh/cpp/project/v1_project/search/src/dict/idf.utf8";
    const char* const STOP_WORD_PATH = "/home/zzh/cpp/project/v1_project/search/src/dict/stop_words.utf8";
    cppjieba::Jieba _jieba;

};